﻿namespace Reviewer.Entities.MetadataInfo
{
    using System;
    using System.Data.SqlClient;

    /// <summary>
    /// MetadataType attribute
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    public sealed class MetadataTypeAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets the sort column.
        /// </summary>
        /// <value>The sort column.</value>
        public string SortColumn { get; set; }

        /// <summary>
        /// Gets or sets the sort order.
        /// </summary>
        /// <value>The sort order.</value>
        public SortOrder SortOrder { get; set; }
    }
}
